os_type
Rust library to detect the operating system type
Usage
Include this into your Cargo.toml
:
[]
="0.5.0"
In your code:
extern crate os_type;
Right now, the following operating systems are detected:
- Mac OS X
- CentOS
- RedHat
- Ubuntu
If you need support for more OS types, I am looking forward to your Pull Request.
License
MIT